[INFO] cloning repository https://github.com/khushalmistry/MemGate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khushalmistry/MemGate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhushalmistry%2FMemGate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhushalmistry%2FMemGate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d90500775ba66f9f1b4afd5fdc9bf12fcc4ff972
[INFO] checking khushalmistry/MemGate against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhushalmistry%2FMemGate" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/khushalmistry/MemGate
[INFO] finished tweaking git repo https://github.com/khushalmistry/MemGate
[INFO] tweaked toml for git repo https://github.com/khushalmistry/MemGate written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/khushalmistry/MemGate on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/khushalmistry/MemGate already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd83fd5939d849524c18f19d63098ed2cdcf5409639a5b58a855f538df63a442
[INFO] running `Command { std: "docker" "start" "-a" "cd83fd5939d849524c18f19d63098ed2cdcf5409639a5b58a855f538df63a442", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd83fd5939d849524c18f19d63098ed2cdcf5409639a5b58a855f538df63a442", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd83fd5939d849524c18f19d63098ed2cdcf5409639a5b58a855f538df63a442", kill_on_drop: false }`
[INFO] [stdout] cd83fd5939d849524c18f19d63098ed2cdcf5409639a5b58a855f538df63a442
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a43f1e34b4037b65dea0061e48782c0960810078ef6908f38a42449e2b8d206
[INFO] running `Command { std: "docker" "start" "-a" "8a43f1e34b4037b65dea0061e48782c0960810078ef6908f38a42449e2b8d206", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking env_logger v0.11.9
[INFO] [stderr]     Checking memmap2 v0.9.10
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking tempfile v3.26.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking memgate v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::config::device_config::DeviceConfig`
[INFO] [stdout]  --> src/memgate.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::config::device_config::DeviceConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::parser::ConfigParser`
[INFO] [stdout]   --> src/memgate.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::config::parser::ConfigParser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RegionType`
[INFO] [stdout]  --> src/config/parser.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::device_config::{DeviceConfig, RegionType};
[INFO] [stdout]   |                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/config/device_config.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RegionType`
[INFO] [stdout]  --> src/allocator/vma.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::layout::region::{MemoryRegion, RegionType};
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::device_config::DeviceConfig`
[INFO] [stdout]  --> src/memgate.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::config::device_config::DeviceConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::parser::ConfigParser`
[INFO] [stdout]   --> src/memgate.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::config::parser::ConfigParser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RegionType`
[INFO] [stdout]  --> src/config/parser.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::config::device_config::{DeviceConfig, RegionType};
[INFO] [stdout]   |                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/config/device_config.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RegionType`
[INFO] [stdout]  --> src/allocator/vma.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::layout::region::{MemoryRegion, RegionType};
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host_addr`
[INFO] [stdout]    --> src/allocator/vma.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let host_addr = self.translation.translate(guest_addr)
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host_addr`
[INFO] [stdout]    --> src/allocator/vma.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let host_addr = self.translation.translate(guest_addr)
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host_addr`
[INFO] [stdout]    --> src/allocator/vma.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let host_addr = self.translation.translate(guest_addr)
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host_addr`
[INFO] [stdout]    --> src/allocator/vma.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let host_addr = self.translation.translate(guest_addr)
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_host_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TranslationEntry` is more private than the item `AddressTranslator::get_entry_by_name`
[INFO] [stdout]    --> src/allocator/translation.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_entry_by_name(&self, name: &str) -> Option<&TranslationEntry> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `AddressTranslator::get_entry_by_name` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `TranslationEntry` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/allocator/translation.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | struct TranslationEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TranslationEntry` is more private than the item `AddressTranslator::entries`
[INFO] [stdout]    --> src/allocator/translation.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn entries(&self) -> &[TranslationEntry] {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `AddressTranslator::entries` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `TranslationEntry` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/allocator/translation.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | struct TranslationEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TranslationEntry` is more private than the item `translation::AddressTranslator::get_entry_by_name`
[INFO] [stdout]    --> src/allocator/translation.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn get_entry_by_name(&self, name: &str) -> Option<&TranslationEntry> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `translation::AddressTranslator::get_entry_by_name` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `TranslationEntry` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/allocator/translation.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | struct TranslationEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TranslationEntry` is more private than the item `translation::AddressTranslator::entries`
[INFO] [stdout]    --> src/allocator/translation.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn entries(&self) -> &[TranslationEntry] {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `translation::AddressTranslator::entries` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `TranslationEntry` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/allocator/translation.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout]  17 | struct TranslationEntry {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `memgate::MemoryMap`, `memgate::MemoryProtection`
[INFO] [stdout]  --> examples/memory_mapping.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use memgate::{MemoryMap, MemoryProtection};
[INFO] [stdout]   |               ^^^^^^^^^  ^^^^^^^^^^^^^^^^ no `MemoryProtection` in the root
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `MemoryMap` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           memgate::memory::MemoryMap
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           memgate::memory::MemoryProtection
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `memgate::Process`, `memgate::ProcessMemory`
[INFO] [stdout]  --> examples/scan_memory.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use memgate::{Process, ProcessMemory, MemoryRegion};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^^^ no `ProcessMemory` in the root
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `Process` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           memgate::process::Process
[INFO] [stdout]           memgate::utils::Error::Process
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           memgate::process::ProcessMemory
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 9 - use memgate::{Process, ProcessMemory, MemoryRegion};
[INFO] [stdout] 9 + use memgate::{process, ProcessMemory, MemoryRegion};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `memgate::Process`
[INFO] [stdout]  --> examples/inspect_memory.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use memgate::{Process, MemoryRegion};
[INFO] [stdout]   |               ^^^^^^^ no `Process` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           memgate::process::Process
[INFO] [stdout]           memgate::utils::Error::Process
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 9 - use memgate::{Process, MemoryRegion};
[INFO] [stdout] 9 + use memgate::{process, MemoryRegion};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MemoryRegion`
[INFO] [stdout]  --> examples/inspect_memory.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use memgate::{Process, MemoryRegion};
[INFO] [stdout]   |                        ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memgate` (example "memory_mapping") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `memgate::MmioBus`, `memgate::MmioRegion`, `memgate::SimpleDevice`, `memgate::Device`
[INFO] [stdout]  --> examples/hardware_simulation.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use memgate::{MmioBus, MmioRegion, SimpleDevice, Device};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^ no `Device` in the root
[INFO] [stdout]   |               |        |           |
[INFO] [stdout]   |               |        |           no `SimpleDevice` in the root
[INFO] [stdout]   |               |        no `MmioRegion` in the root
[INFO] [stdout]   |               no `MmioBus` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           memgate::hardware::MmioBus
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           memgate::hardware::MmioRegion
[INFO] [stdout]   = help: consider importing one of these structs instead:
[INFO] [stdout]           memgate::hardware::SimpleDevice
[INFO] [stdout]           memgate::mmio::SimpleDevice
[INFO] [stdout]   = help: consider importing this trait instead:
[INFO] [stdout]           memgate::hardware::Device
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memgate` (example "scan_memory") due to 1 previous error
[INFO] [stderr] error: could not compile `memgate` (example "inspect_memory") due to 1 previous error; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memgate` (example "hardware_simulation") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "8a43f1e34b4037b65dea0061e48782c0960810078ef6908f38a42449e2b8d206", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a43f1e34b4037b65dea0061e48782c0960810078ef6908f38a42449e2b8d206", kill_on_drop: false }`
[INFO] [stdout] 8a43f1e34b4037b65dea0061e48782c0960810078ef6908f38a42449e2b8d206
